Automattic\Jetpack\Waf\Waf_Request A

Total Complexity 67
Dependencies 1
Dependents 1
Total lines 395
Lines of code 190
Logical lines of code 97
Comment lines 168
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
get_url()
A
44 16 42
get_headers()
A
52 9 24
get_post_vars()
S
56 6 19
get_files()
S
56 5 19
get_ip_by_header()
S
60 5 13
get_real_user_ip_address()
S
63 4 10
get_header()
S
65 3 9
get_body()
S
75 2 4
get_basename()
S
67 2 7
get_uri()
S
74 2 4
get_protocol()
S
72 2 5
get_method()
S
72 2 5
set_trusted_headers()
S
80 1 3
get_filename()
S
80 1 3
get_query_string()
S
80 1 3
get_cookies()
S
80 1 3
get_get_vars()
S
80 1 3
get_json_post_vars()
S
74 1 4
get_urlencoded_post_vars()
S
76 1 4
normalize_header_name()
S
78 1 3
set_trusted_proxies()
S
80 1 3